e5d6329ec7ec397eb7bb0d7bb7c190b231a767ac,Core/src/org/sleuthkit/autopsy/ingest/IngestModuleLoader.java,IngestModuleLoader,loadDoc,#,909

Before Change


            logger.log(Level.SEVERE, "Error loading pipeline configuration: can't read file.", e);

        }
        try{
            PlatformUtil.xmlIsValid(ret, PlatformUtil.pipelineXSD);
        }
        catch(SAXException e){
            logger.log(Level.SEVERE, "Error loading pipeine configuration: Could not validate XML against pipeline_config.xsd", e);
        }
        return ret;

After Change


            logger.log(Level.SEVERE, "Error loading pipeline configuration: can't read file.", e);

        }
        if(!PlatformUtil.xmlIsValid(ret, IngestModuleLoader.class, PlatformUtil.pipelineXSD)){
            logger.log(Level.SEVERE, "Error loading pipeine configuration: Could not validate XML against "+ PlatformUtil.pipelineXSD);
            return null;
        }
        return ret;